#ifndef _BINARY_H
#define _BINARY_H

#define __ctype_ptr__ (std->__ctype_ptr__)

extern sStd *std;   // standard functions
extern sNds *nds;   // libnds functions
extern sX *x;       // xlibrary functions
extern sF *f;       // file functions
extern sFL *fl;     // filelist functions
extern sLL *ll;     // linked list functions
extern sLF *lf;     // lifo functions
extern sAPI *api;   // SunOS API functions
extern sMM *mm;     // maxmod functions

void __aeabi_idiv();
void __aeabi_idivmod();
void __aeabi_uidiv();
void __aeabi_ldivmod();

inline int binaryInit(sLibs *libs);

#endif

